package database_objects;

import java.util.GregorianCalendar;

public class EditionBook {
	private String isbn;
	private String nameOfEditionHouse;
	private String dateOfPublishing;
	private String title;
	private String idOfDepartment;

    public EditionBook(String isbn, String nameOfEditionHouse,
            String dateOfPublishing, String title, String idOfDepartment) {
        this.isbn = isbn;
        this.nameOfEditionHouse = nameOfEditionHouse;
        this.dateOfPublishing = dateOfPublishing;
        this.title = title;
        this.idOfDepartment = idOfDepartment;
    }

    public String getDateOfPublishing() {
        return dateOfPublishing;
    }

    public String getIdOfDepartment() {
        return idOfDepartment;
    }

    public String getIsbn() {
        return isbn;
    }

    public String getNameOfEditionHouse() {
        return nameOfEditionHouse;
    }

    public String getTitle() {
        return title;
    }

    @Override
    public String toString() {
        return title + " " 
                + isbn + " "
                + nameOfEditionHouse + " "
                + idOfDepartment + " " 
                +dateOfPublishing;
    }
    
    
    
}

